<div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> {$field_name}:</label>
    <div class="col-md-6 col-sm-10">
        <input class="form-control" style="display: inline-block;width:80%;" id="{$field}" type="text" name="{$field}"
               value="<if $is_edit><literal>{:implode(',',$vo.</literal>{$field}<literal>)}</literal></if>" >
        <a class="btn btn-success" href="javascript:uploadOne('文件上传','#{$field}','file');">上传</a>
    </div>
</div>

<div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 预览:</label>
    <div class="col-md-6 col-sm-10">
        <img  <if $is_edit>data-src="<literal>{$domain}{$vo.</literal>{$field}[0]<literal>}</literal>" </if> <if $is_edit>src="/static/images/autocode_filelogo.png"</if> onclick="bigSee(this)" id="{$field}-preview"/>
    </div>
</div>